package com.ruoyi.supermarket.bean;

import com.ruoyi.supermarket.domain.Cart;
import com.ruoyi.supermarket.domain.Product;
import com.ruoyi.supermarket.domain.ProductSku;
import com.ruoyi.supermarket.domain.UserInfo;

/**
 * @author 李其伟
 * @date 2023/09/30
 */
public class CartRes {

    private Cart cart;

    private Product product;

    private ProductSku productSku;

    private UserInfo userInfo;

    public Cart getCart() {
        return cart;
    }

    public void setCart(Cart cart) {
        this.cart = cart;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public ProductSku getProductSku() {
        return productSku;
    }

    public void setProductSku(ProductSku productSku) {
        this.productSku = productSku;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    @Override
    public String toString() {
        return "CartRes{" +
                "cart=" + cart +
                ", product=" + product +
                ", productSku=" + productSku +
                ", userInfo=" + userInfo +
                '}';
    }
}
